export class Respone {
  readonly code: unknown;
  readonly message: string;

  constructor(code: unknown, message: string) {
    this.code = code;
    this.message = message;
  }
}

// token 失效
export const err401 = new Respone(401, "Authorization fail.");
export const unknownError = new Respone(10001, "系统错误，请稍后再试！");
